package com.iotek.ssm.service;

import com.iotek.ssm.pojo.Education;
import com.iotek.ssm.pojo.PoliticsStatus;
import com.iotek.ssm.pojo.Resume;
import com.iotek.ssm.pojo.User;

import java.util.List;

public interface UserService {
    User findByPhone(String phone) throws Exception;

    void saveUser(User user) throws Exception;

    void updateUser(User user) throws Exception;

    List<Education> findEducations() throws Exception;

    List<PoliticsStatus> findPolitics() throws Exception;

    Resume findResume(User user) throws Exception;

    void saveResume(Resume resume) throws Exception;

    void updateResume(Resume resume) throws Exception;
}
